<%@ page language="java" contentType="text/html; charset=UTF-8"
import="java.util.*,Entity.User" pageEncoding="UTF-8"%> <%@ taglib
uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
  <head>
    <!--Import Google Icon Font-->
    <link
      href="http://fonts.googleapis.com/icon?family=Material+Icons"
      rel="stylesheet"
    />
    <!--Import materialize.css-->
    <link
      type="text/css"
      rel="stylesheet"
      href="css/materialize.min.css"
      media="screen,projection"
    />

    <!--Let browser know website is optimized for mobile-->
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>登录界面</title>
  </head>

  <body>
  

    <div class="container" style="height:100%">
                      <div class="row">
                      		    <h3 class="center-align">登陆</h3>
		    </div>
      <form action="loginServlet" method="post">
        <div class="row">
          <div class="input-field col l6 offset-l3">
            <input id="user_ID" name="user_ID" type="text" class="validate" required="required" />
            <label for="user_ID">用户名</label>
          </div>
        </div>

        <div class="row">
          <div class="input-field col l6 offset-l3">
            <input id="password" name="password" type="password" class="validate" required="required" />
            <label for="password">密码</label>
          </div>
        </div>
        <div class="row">
          <div class="col l2 offset-l4 ">
          <button class="btn waves-effect waves-light" type="submit">
							  		登录
							  </button> 


          </div>
          <div class="col l2 ">
              <button class="btn waves-effect waves-light" type="button" onclick="window.location.href='register.jsp';">注册</button>
          </div>
        </div>
      </form>
    </div>

    <!--Import jQuery before materialize.js-->
    <script
      type="text/javascript"
      src="https://code.jquery.com/jquery-2.1.1.min.js"
    ></script>
    <script type="text/javascript" src="js/materialize.min.js"></script>
  </body>
</html>
